Main Page Modules Compound List File List Compound Members File Members Related Pages

# prepare_query.h

    00001 /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
    00002  * Copyright (C) 1998-1999  Brian Bruns
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the
    00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017  * Boston, MA 02111-1307, USA.
    00018  */
    00019
    00020 #ifndef PREPARE_QUERY_h
    00021 #define PREPARE_QUERY_h
    00022
    00023 #if HAVE_CONFIG_H
    00024 #include <config.h>
    00025 #endif /* HAVE_CONFIG_H */
    00026
    00027 #if defined(UNIXODBC) || defined(TDS_NO_DM)
    00028 #include <sql.h>
    00029 #include <sqlext.h>
    00030 #else /* iODBC */
    00031 #include "isql.h"
    00032 #include "isqlext.h"
    00033 #endif
    00034
    00035
    00036 static char rcsid_prepare_query_h[] = "$Id: prepare_query.h,v 1.6 2003/11/02 09:59:33 freddy77 Exp $";
    00037 static void *no_unused_prepare_query_h_warn[] = { rcsid_prepare_query_h, no_unused_prepare_query_h_warn };
    00038
    00039
    00040 SQLRETURN prepare_call(struct _hstmt *stmt);
    00041 SQLRETURN native_sql(char *s);
    00042 int start_parse_prepared_query(struct _hstmt *stmt);
    00043 int continue_parse_prepared_query(struct _hstmt *stmt, SQLPOINTER DataPtr, SQLINTEGER StrLen_or_Ind);
    00044
    00045 #endif